@charset "utf-8";
/* mes commentaires */

@font-face {
    font-family: 'ClashDisplay-Semibold';
    src: url( "EXO_sticky_html_css/fonts/ClashDisplay-Semibold.ttf"),
        url( "EXO_sticky_html_css/fonts/ClashDisplay-Semibold.woff"),
		url( "EXO_sticky_html_css/fonts/ClashDisplay-Semibold.woff2");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'ClashDisplay-Medium';
    src: url("EXO_sticky_html_css/fonts/ClashDisplay-Medium.ttf"),
        url("EXO_sticky_html_css/fonts/ClashDisplay-Medium.woff"),
		url("EXO_sticky_html_css/fonts/ClashDisplay-Medium.woff2");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Avara-BlodItalic';
    src: url( "EXO_sticky_html_css/fonts/Avara-BoldItalic.ttf"),
        url( "EXO_sticky_html_css/fonts/Avara-BoldItalic.woff"),
		url("EXO_sticky_html_css/fonts/Avara-BoldItalic.woff2");
    font-weight: normal;
    font-style: normal;
}


/*
BG : #080808;
texte gris foncé : #444;
texte gris clair : #e0e0e0;
rouge : #c52716;
vert : #0f7a40;
*/

body, html{
	margin: 0;
	padding: 0;
	background-color: #080808;
	color: #e0e0e0;
	font-family: "Quicksand", sans-serif;
	-webkit-font-smoothing: antialiased;
	display: flex;
	flex-direction: column;
}

/*bandeau animé du titre*/

.sticky-header{
	width: 100%;
	height: 30px;
	background-color: #c52716;
	position: sticky;
	top: 0;
	color: #E0E0E0;
	display: flex;
	align-items: center;
	overflow: hidden;
	z-index: 2000;
	
}

.sticky-header p{
	font-family: 'ClashDisplay-Medium';
	font-size: 1.5rem;
	letter-spacing: 0.04rem;
}

span{
	font-family: 'ClashDisplay-Semibold';
}

/*animation du texte*/

.scrolling-text{
	display: inline-block;
	width: 100%;
	animation: scroll-text 18s linear infinite;
	white-space: nowrap;
}

@keyframes scroll-text{
	0%{
		transform: translateX(0);
	}
	100%{
		transform: translateX(-50%);
	}
}

/*structure de l'écran*/
.container{
	display: flex;
	flex: 1;
	overflow-y: auto;
}
	
.left-section{
	width: 30%;
	height: 100vh;
	padding: 10px 20px;
	box-sizing: border-box;
	overflow-y: auto;
		
	scroll-timeline-name: --left-scroll;
	scroll-timeline-axis: block;
}
	
.left-section section{
	margin-top: 30rem;
}

.left-section::-webkit-scrollbar {
	display: none;
}
	
.right-section{
	width: 70%;
	height: calc(100vh -30px);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.carroussel{
	width: 70%;
	height: 100vh;
	overflow: hidden;
	position: fixed;
}

.carroussel .slides{
	display: flex;
	align-content: flex-end;
	width: 300%;
	height: 100vh;
	
	animation: slideAnimation 14s infinite;
}
@keyframes slideAnimation{
	0%{transform: translateX(0);}
	33.33%{transform: translateX(-33.33%);}
	66.66%{transform: translateX(-66.66%);}
	100%{transform: translateX(0);}
	
}

.carroussel .slide{
	width: 33.33%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.carroussel .slide img{
	max-width: 100%;
	max-height: 90%;
	object-fit: contain;
}

.focus-text{
	font-family: 'ClashDisplay-Semibold';
	font-size: 3rem;
	line-height: 1.1;
	color: #0f7a40;
	margin: 0;
	letter-spacing: 0.04em;
}

.description{
	font-size: 1.1rem;
	margin: 1.5rem 0.5rem 0 1.3rem;
	line-height: 1.5;
	font-weight: 400;
}

.project{
	view-timeline-name: --project;
	view-timeline-axis: block;
}

.focus-text{
	animation-name: reveal-title;
	animation-duration: 1s;
	animation-timeline:--project;
	/*déclencheur*/
	animation-range: entry 0% cover 50%;
	animation-fill-mode: both;
}

@keyframes reveal-title{
	from{
		filter: blur(30px);
		opacity: 0;
		transform: translateY(0) scale(1);
		color: #444444
	}
	
	to{	
		
	}
}

.audio-controls{
	margin-top: 50px;
	padding: 15px;
	width: 100%;
}

.audio-button{
	display: block;
	width: 40%;
	padding: 10px;
	margin-bottom: 30px;
	background-color: #080808;
	color: #0f7a40;
	border: 1px solid;
	font-family: 'ClashDisplay-Semibold';
	font-size: 1.3rem;
	cursor: pointer;
	transition: backgournd-color 0.3s;
}

.audio-button:hover{
	background-color: #E0E0E0;
}

/*personnalisation des curseurs*/
.slider-container{
	margin-bottom: 0.8rem;
}

.slider-container label{
	display: block;
	font-family: 'ClashDisplay-medium';
}

input[type="range"]{
	accent-color: #0f7a40;
}

/*ajouter des boutons pour voir les images*/
.button-container{
	display: flex;
	gap: 20px;
	margin: 20px 0;
}

.btn{
	width: 35px;
	height: 35px;
	background-color: #0f7a40;
	border: solid #e0e0e0;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #e0e0e0;
	font-family: 'ClashDisplay-Semibold';
	font-size: 1.2rem;
	transition: transform 0.2s background-color 0.2s;
	padding: 0;
}

.btn:hover{
	transform: scale(1.1);
	background-color: #080808;
	color: #0f7a40;
	border-color: #0f7a40;
}

.btn-wrapper{
	position: relative;
}

.hover-image{
	display: none;
	position: absolute;
	z-index: 9999;
	width: 200px;
	height: auto;
	top: 80px;
	left: 30px;
	box-shadow: 0 10px 30px #080808;
	transition: opacity 0.5s ease;
	pointer-events: none;
}

.btn-wrapper:hover .hover-image{
	display: block;
}

.anim-scroll{
	display: flex;
	justify-content: center;
	margin-top: 6rem;
}

/*placer nom et prénom et signature*/
.closing-section{
	height: 25vh;
	display: inline-flex;
}

.closer{
	font-size: 0.9rem;
	font-weight: 300;
	color: #0f7a40;
}





